import java.util.ArrayList;
import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:墨琦
 * Data:2023-04-04
 * Time:19:49
 */
public class Text1 {
    public static void func(String str1,String str2)
    {
        List<Character> ret=new ArrayList<>();
        for(int i=0;i<str1.length();i++)
        {
            char ch=str1.charAt(i);
            if(!str2.contains(ch+""))
            {
                ret.add(ch);
            }
        }
        System.out.println(ret.toString());
    }
    public static void main(String[] args) {
        func("welcome to bit","come");
    }
}
